package com.dianping.cat.home.storage.alert.entity;

import com.dianping.cat.home.storage.alert.BaseEntity;
import com.dianping.cat.home.storage.alert.IVisitor;





public class Detail
  extends BaseEntity<Detail>
{
  private String m_content;
  private int m_level;
  
  public Detail() {}
  
/* 18 */   public Detail(String content) { this.m_content = content; }




/* 23 */   public void accept(IVisitor visitor) { visitor.visitDetail(this); }


  
  public boolean equals(Object obj) {
/* 28 */     if (obj instanceof Detail) {
/* 29 */       Detail _o = (Detail)obj;

/* 31 */       if (!equals(getContent(), _o.getContent())) {
/* 32 */         return false;
      }
      
/* 35 */       return true;
    }
    
/* 38 */     return false;
  }

  
/* 42 */   public String getContent() { return this.m_content; }



/* 46 */   public int getLevel() { return this.m_level; }


  
  public int hashCode() {
/* 51 */     int hash = 0;

/* 53 */     return hash * 31 + ((this.m_content == null) ? 0 : this.m_content.hashCode());
  }



  
  public void mergeAttributes(Detail other) {
/* 60 */     assertAttributeEquals(other, "detail", "content", this.m_content, other.getContent());

/* 62 */     this.m_level = other.getLevel();
  }
  
  public Detail setContent(String content) {
/* 66 */     this.m_content = content;
/* 67 */     return this;
  }
  
  public Detail setLevel(int level) {
/* 71 */     this.m_level = level;
/* 72 */     return this;
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/storage/alert/entity/Detail.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */